// pages/person/messageDetail/messageDetail.js
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    navbarData: {
      showCapsule: 1,
      title: '这里显示公司名称'
    },
    bgHeight:app.globalData.status+app.globalData.navHeight+10,
    headTop:app.globalData.status+app.globalData.navHeight+20,
    msgList:[
      {isMyMsg:true,message:"您好，请问这款产品有现货吗？"},
      {isMyMsg:false,message:"您好!"},
      {isMyMsg:true,message:"我想购买这款产品，请问有我想购买的款式吗，这里麻烦查一下，我现在要买"},
      {isMyMsg:false,message:"货源充足可以放心下单"},
    ],
    recommedList:[
      {title:"轻奢假装好物件实木地板暖轻奢假装好物件实木地板",price:"140000.00",unit:"平方",views:"5980"},
      {title:"真皮沙发，欧式时尚复古真皮沙发",price:"13500.00",unit:"套",views:"8680"},
      {title:"轻奢假装好物件实木地板暖轻奢假装好物件实木地板",price:"140000.00",unit:"平方",views:"5980"},
      {title:"真皮沙发，欧式时尚复古真皮沙发",price:"13500.00",unit:"套",views:"8680"},
    ],
    likeList:[
      {title:"轻奢假装好物件实木地板暖轻奢假装好物件实木地板",price:"140000.00",unit:"平方",views:"5980"},
      {title:"真皮沙发，欧式时尚复古真皮沙发",price:"13500.00",unit:"套",views:"8680"},
      {title:"轻奢假装好物件实木地板暖轻奢假装好物件实木地板",price:"140000.00",unit:"平方",views:"5980"},
      {title:"真皮沙发，欧式时尚复古真皮沙发",price:"13500.00",unit:"套",views:"8680"},
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})